﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DemoObject;
using DemoObject.EntityMappers;
using BusinessObjects;

public partial class Controls_imageboxright : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            TblTemplate item = TblTemplateRepository.CreateInstant().SelectOneByTextId("album-hinh-box-ben-phai");
            IList<TblPhoto> ls = TblPhotoRepository.CreateInstant().SelectListItem(null, new Guid(item.Description), "", "", true, new HashSet<string>());
            rpt.DataSource = ls;
            rpt.DataBind();
        }
    }
}
